@color: pink;

body {
    background: @color;

    .color-box-list {
        display: flex;
    }

    .color-box {
        width: 50px;
        height: 50px;
        margin-right: 20px;
        border: white 1px dashed;
        cursor: pointer;

        &:nth-child(1) {
            background: pink;
        }

        &:nth-child(2) {
            background: yellowgreen;
        }

        &:nth-child(3) {
            background: lightblue;
        }


        &:nth-child(4) {
            background: lightsalmon;
        }
    }
}